﻿using System;
using System.Collections.Generic;
using Expenses.Domain.Entities;

namespace Expenses.DAL.Interfaces
{
    public interface IInvoiceRepository
    {
        void Add(Invoice invoice);
        void Update(Invoice invoice);
        void Remove(Invoice invoice);
        Invoice GetById(Guid invoiceId);
        Invoice GetByName(string name);
        ICollection<Invoice> GetAll();
        //ICollection<Product> GetByCategory(string category);
    }
}
